package com.itheima.service;

import com.itheima.pojo.BorrowRecord;
import com.itheima.pojo.PageBean;
import com.itheima.pojo.vo.BorrowRecordVo;

import java.util.List;

public interface BorrowRecordService {

    PageBean<BorrowRecordVo> list(Integer pageNum, Integer pageSize, String cardNumber, Integer bookId, Integer status);

    void add(BorrowRecord borrowRecord);
    void update(BorrowRecord borrowRecord);

    void delete(Integer id);

    void updateStatus(Integer id);
}
